const express = require('express')
const router = express.Router()
const authMiddleware = require('../middleware/authMiddleware')
const SessionControllers = require('../controllers/sessionControllers')

router.get('/userid/:userid',authMiddleware, SessionControllers.getSessionByUserId)

module.exports = router